package cn.dto.common;

import lombok.Data;


/**
 * 请求统一封装，支持 head/body 格式
 * @param <T> 业务 DTO 类型
 */
@Data
public class RequestWrapper<T> {
    private CommonRequest head;
    private T body;

    public CommonRequest getHead() {
        return head;
    }

    public void setHead(CommonRequest head) {
        this.head = head;
    }

    public T getBody() {
        return body;
    }

    public void setBody(T body) {
        this.body = body;
    }
}
